package com.team11.server.pojo.dto.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "上课记录查询条件",description = "上课记录查询条件")
public class SkRecordVo {

    @ApiModelProperty(value = "项目名称")
    @TableField("kc_name")
    private String kcName;

    @ApiModelProperty(value = "责任老师")
    @TableField(exist = false)
    private String zrTeacher;

    @ApiModelProperty(value = "实训老师")
    @TableField(exist = false)
    private String sxTeacher;

    @ApiModelProperty(value = "开始时间")
    @TableField(exist = false)
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private LocalDate startTime;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    @TableField(exist = false)
    private LocalDate endTime;
}
